add email and name validation