added header and nav to layout templates