remove tabs and logout button from login and logged out pages