read games from db by id