finish 8.2.6 of sign in and out on branch sign-in-out