moving onlineUsers from an in-memory variable to a sorted set