enhanced login error comportement