moved common header, navbar, footer code to LayoutUtil in all files