this commits lesson 7 on form validation