# Sample Users Created Successfully

## Summary
- **Total Users**: 21
- **Branches**: 4
- **Admin**: 1
- **Managers**: 2
- **Loan Officers**: 4
- **Accountants**: 2
- **Borrowers**: 12 (10 approved + 2 pending)

## Branches Created

| Branch Name | Code | Location | Main Branch |
|-------------|------|----------|-------------|
| Main Branch | MAIN | Nairobi CBD | Yes |
| Westlands Branch | WEST | Westlands, Nairobi | No |
| Mombasa Branch | MBA | Mombasa Road | No |
| Kisumu Branch | KSM | Kisumu Town | No |

## Login Credentials

### Admin
- **Username**: `admin`
- **Password**: `admin123`
- **Role**: Admin
- **Branch**: Main Branch

### Managers
| Username | Password | Name | Branch |
|----------|----------|------|--------|
| manager1 | manager123 | John Manager | Main Branch |
| manager2 | manager123 | Sarah Williams | Westlands Branch |

### Loan Officers
| Username | Password | Name | Branch |
|----------|----------|------|--------|
| officer1 | officer123 | Michael Johnson | Main Branch |
| officer2 | officer123 | Emily Davis | Main Branch |
| officer3 | officer123 | David Brown | Westlands Branch |
| officer4 | officer123 | Grace Mwangi | Mombasa Branch |

### Accountants
| Username | Password | Name | Branch |
|----------|----------|------|--------|
| accountant1 | account123 | James Wilson | Main Branch |
| accountant2 | account123 | Lucy Kamau | Westlands Branch |

### Borrowers (Approved)
| Username | Password | Name | Business | Branch |
|----------|----------|------|----------|--------|
| borrower1 | borrower123 | Peter Omondi | Peter's Electronics | Main Branch |
| borrower2 | borrower123 | Mary Wanjiku | Mary's Salon | Main Branch |
| borrower3 | borrower123 | Joseph Kipchoge | Joe's Hardware | Main Branch |
| borrower4 | borrower123 | Jane Achieng | Jane's Boutique | Westlands Branch |
| borrower5 | borrower123 | Daniel Mutua | Dan's Grocery | Westlands Branch |
| borrower6 | borrower123 | Faith Njeri | Faith's Restaurant | Mombasa Branch |
| borrower7 | borrower123 | Samuel Otieno | Sam's Barbershop | Mombasa Branch |
| borrower8 | borrower123 | Rebecca Wambui | Rebecca's Tailoring | Main Branch |
| borrower9 | borrower123 | Patrick Kimani | Patrick's Pharmacy | Main Branch |
| borrower10 | borrower123 | Catherine Nyambura | Cathy's Bakery | Westlands Branch |

### Borrowers (Pending Approval)
| Username | Password | Name | Business | Branch |
|----------|----------|------|----------|--------|
| pending1 | pending123 | Thomas Maina | Tom's Carpentry | Main Branch |
| pending2 | pending123 | Alice Wangari | Alice's Boutique | Main Branch |

## Quick Access

### Test Different Roles
1. **Admin Access**: Login as `admin` / `admin123` to access all features
2. **Manager View**: Login as `manager1` / `manager123` to test manager permissions
3. **Loan Officer**: Login as `officer1` / `officer123` to test loan processing
4. **Accountant**: Login as `accountant1` / `account123` to test financial reports
5. **Borrower**: Login as `borrower1` / `borrower123` to test borrower portal

### Test Branch Filtering
- Users are distributed across 4 branches
- Test branch-specific data filtering by logging in as users from different branches

### Test Approval Workflow
- `pending1` and `pending2` are pending approval
- Login as admin/manager to approve or reject these users

## Notes
- All passwords are simple for testing purposes
- Change passwords in production
- Borrowers have business information and monthly income set
- Staff users have appropriate permissions based on their roles
