changed to using _id to access blog posts