fix for registration - Issue #15
Merge pull request #16 from iamsreeju/master

fix for registration - Issue #15