Added a route to edit the posts