Added user validation on form submit.
removed my for loop in favor of in_array call.