database example (mongodb, two collections)