isLogged logical fix, 3 states: null, false, true.