Fixed an issue where the logout option disappears.