creating index page