homepage switched to view instead of layout