set up registration
Merge pull request #2 from paultgibbons/master

set up registration