Account confirmation via email

- need to add a 'confirmation resend' function
- maybe needs refactoring