accessing sample data from mongodb.