Validation.

Validation for email and name inputs