added some simple form validation with html5