Moved unconfirmed email check into a helper

cc @steverob
Also show the email confirmation alert on the homepage
Whitespace