added layout for pages