added functionality to the links, added a link to view payments.