registration functions
Merge pull request #2 from Sneakyburger/master

Initial setup with registration