Added option for ACL for public pages

And fixed a few things in ACL to make sure we use clean IDs and use
right string if