add validations for form