Added functionality to prevent editing of archived projects and limit access to pages