added confirmation email logic
Merge pull request #18 from danielbentonturner/registration11

added confirmation email logic