add jquery validation for registration