fixed routes for login and logout in the navigation bar