submitting discounts adds discount to sqlite3 db