submitting debts works in addDebt.php