Create and config index page