Handle group management and assignment