Creates an index page