added route for edit post page