make main page to extend layout