Fixed logged in, logged out behaviors.