fix inability to log out