finish sign-in-sign-out