Mongo api coded, cannot connect; JS connection to api attempted,, ...

home and testpage updated, json files fixed