A Kraken example to show how you can add custom middleware to your project.