creates index page