modifica AuthenticationManager