add /groups and /groups/GROUP_NAME endpoints