Update auth_controller.