Made it so 'log out' only appears if you're logged in.