pages controller unified.