finish sign-in-sign-out part