Added storing data to mongoDB