added the payment controller