refactored articles by type to use query param not extra route