implemented listDebtsByUser.php