added routes for posts list and posts edit