recreated server.js file