using verifying in form validation
add validation using higer order function
add validation class for validate form data