edit game page now uses new Db class