validate input for name and email
finish ch 6
excercies done