solved the sign out problem