email and name validation and sanitation