some modifications of authentification