missing middleware in example configuration added