Added permission checks to page views