index get data from mongodb