Add validation and error messages for profileForm.