little improvement for authentification