fixed sign out problem