Now only shows logout button on pages when user is logged in