Replaced the asserts in register user with Regex and raise exceptions on failure to match
Merge pull request #89 from danmcginnis/betterAsserts

Closes #82