adjusting to better use blade templates by use of layouts