Comments added
On res.json() functions used to update the front end with ajax
Merge remote-tracking branch 'origin/master'