modified sessions and added form validation on add and update payment