finish  sign-in-out