starting 8.2.2 A working sign_in method