Added front-end for main page(index)