render an index page