amélioration directive login