Added basic form validation.
App works simply and submit uses controller.