removed doAuthentication