adding email and name validation