Adding missing middleware in example
Merge pull request #16 from bastiao/master

Problem running example