Layout now creates wfp object before loading the page gsp so it is
always present when the gsp is rendered