updated teh index.html file to use ajax to retrieve, delete and add records.