Added the detail blog post view or edit blog post view depending on user role