Removing puts in the middle and checking for name and email
First validation
Adds some validation before the data is sent