all code for groups, logic in view but missing controller support