wire the validation into the web app