Update class.pagecontroller.php

Allow custom permissions for pages