change index page api to only display future events