Authentification improvements