improve regex checking for committeehq and refactored a bit of the form validation in submission