Added log messages to server.js