added jquery validation to the form