validation for register
Merge pull request #119 from sudiptpas/sujip

validation for register