Add an example which also uses a database
Fix a typo in the documentation