put rendering of index page to front-end