add dynamic route for posts