render data on index page