added loading bar to groups index