added layout to each page