adding validation on name
Merge pull request #1 from ivanoats/master

adding validation on name