added header and footer to layouts