changed logic in expressServer.js