Fix middleware order
Merge pull request #1 from Soarez/express-ejs-layouts

Fix middleware order