add online-user functionality

When a user joins/leaves the chat room, display/remove that user from
the list of online users.