implemented a table view for viewing the payment