Insert form validation in Models