added admin functionality with the ability to edit blog posts