refactored User and Ledger models