now returns data to the front end for game datas