refactored postsList route into a route controller