Try changing your APP ID to match that of your Layout page (you will have to do this for all Content pages using the Layout specific values). If the ID's do not match then the Content page will not display the values defined in the Layout. Likewise for Cookies and Data Store etc. Am sure that is what is causing the issue...
There are MANY MANY benefits to Node over PHP! @JonL 'The Baptist' converted me.