front-end for main page