updated register function for generating confirm token, along with the tests
Merge pull request #150 from mjhea0/develop

updated register function for generating confirm token, along with the tests