This question already has an answer here:
here, in this 9 is the user id.it is different according to register users.
When add link in main menu there is an option Path textbox in that text box if i add "user/9/edit" then link is created but here 9 is login user id. then it is accessible only whose user id 9. but other not access. I want to add link dynamic which user are login then that user access that user edit page.user/*/edit