sign_in and sign_out controller methods updated