display a simple index of data
changed the name of index collection
talking to the server has become somewhat more sophisticated and DRYed, correct transmission and use of root path