added redirectToLogin to authenticator