Added the page type key to the layout
Added enformcement of the layout if the layout pagetypekey mapped to a pagetype