Refactor postsLists route into a Controller.