Email confirmation flash refactoring

Moved some of the logic into the user model and only show the message if a user has entered an email. :love_letter: