release 3.0: improve login authentication.