Instrumentation for sign_in and sign_out