update onlineUsers to be a redis set, chatHistory to be a redis list