finishing implemntation of item purchaseing
item purchasing is now working on item index page