Made index view use a layout page