integrated groupList into main.html