issue #5592: fix isLogined