Sample scala index and restricted page.