improved navigation for login and logout