adding validations to payments and fixing new payments form