Same component works for both pages and profiles