distinction between messages to user (socket) and to group (io)