console.log
deprecating middleware.prepareAPI in favour of using app.all('*') in /api namespace