model e controller debts funcionando