added redirect if logged in user tries to log in, welcome email