Added size checks for the name and email inputs before they go into the
database