set up controller for checkout