demo of using mongoose and mongoDB