changed pages controller to make fsite faster