draw index page