add front-end validations for bills
add validations to new payments
DRY up errorMsg code for composite views