Added basic validation to the form.