adding layout to all pages