fixed sign out method