add getGroupsForUser