added feature for ensuring the user is signed in via a confirmation email by using email spec