Fixed bug with signing out.