Fixed bug in signing out.