user navigation and logout functionality