Add logging in server.js