Security on pages now works