Implemented getLoans method and getNetWorth functionality.