add registration stuffs
Merge pull request #4 from rocketu/registration-stuffs

add registration stuffs