add permission checking function;
modify the definiation of AdContent, AdBox, AdSiteType ( AdLayer) objects;
create the basic pages of the site.