Handles group messages