emits messages to all users