fixing user register
Merge pull request #3 from riddlore/master

fixing user register