new form validation class made for displaying best errors