articles page refactor