server.js now logs the received id