created a layout that takes what content to display from controller