Ch-8.2.3 sign_in function works