Refactor controllers.CheckoutController.logIn.