added client console.log script for testing in the end of public/app.js