chapter 07 exercises
add sign-in, sign-out functionality