added custom routes and slug to blogposts table