and update the filter example to make it simpler and reuse code.
Filter example
To test the example, you can just run in a terminal:
curl -u foo:bar http://localhost:9090/user/1 -v