refactored pie chart code for item type, put in charts for usage and purchases, added methods for determining amount used and purchased for each item type for a given user