added in a router and paths to view the post page