Improvements

checking game and user id from the database