configured to used mongodb locally, can save and retrieve all