updated project with new form validation