adding front-end for main page