You have to explicitly set extended for bodyParser.urlencoded() since the default value is going to change in the next major version of body-parser. Example:
app.use(bodyParser.urlencoded({ extended: true }));
Since express 4.16.0, you can also do:
app.use(express.urlencoded({ extended: true }))