adding in some client side validation to fields
adding in validate modue