Discount-Code management and security fix