sign out now working properly