fixes for sign out