Added rescue block to the pages controller.