correct the code for accessing of user and menu link