Use mongoose for mongodb.