add missing login count threshold