added pages for history and discounts