Modified page controller to use an explicit request object