Changes to page security. Somewhat streamlined but needs more work