mv layout to index to render on load