add form validation
Merge pull request #10 from naijim/master

add form validation