separated index and master page, and using layouts