I now load the inventory from the database