improve sign-out