confirm email functionality

-check if user is confirmed and has an email in the database on login
-if not, sends user to confirmEmailPage
-password should not affect the logic.