add validations for forms