allplayers gets data from database