added form validations
Merge pull request #7 from apesic/alexle

added form validations