Fix sign out issue