add validation to name and email