refactor db & add saleReceipt page