route for getting post by ID