Replaced express.bodyParser() with express.json() and express.urlencoded()