PurchaseController with crud added