Fixed bug signing out