App updated as per Expressjs 4