refactor article index and details