Added email-verification check to main page