Added response logging to the browser's console