implement line items decrement
refactor controllers