add form validation, cleaned up all forms to use uniform code