moved the logout button to the left pane
Only show logout button if a user is logged in