Adds testing for account activation email delivery
Refactors controller actions in to model instance methods