in the user-profile there are two varius urls to other profils, for example the friends...

my profile url: /user/view/profile/...
the link to my friends in user/view/viewfriends: /user/view/profile/login/...

where can I change this ? I want to have the same url on each file.

Thank you !