Added code to load item information from database