added layout to pages