add /api/groups/view and change /api/groups/find