Changed getGroups to return names and ids