Fixed bug with signout