Rewrite to use server-generated pages, part 1
Server generated pages