Added user validation on form submit.
removed my for loop in favor of in_array call.
Merge pull request #27 from MorganDawe/7.x

user validation