sends confirmation email after login