add the data which should be get in the index funtion