added mongo db. and accessing/storing in the database.