adding app.use(bodyParser()) suitable for express v4