adding basic blog and story saving to mongodb