Added validation to the Profile Form