The Users page allows administrators to manage user accounts.
- Columns: Username, Role (Admin/User), Created, Last Login, Actions.
- Actions: Edit or delete users (cannot delete your own account).
- Modal: Add User form with fields for username, password, and admin checkbox.
- Validation: Username (3-32 chars, unique), password (min 4 chars).
- Feedback: Inline error messages for invalid input or duplicate usernames.
- Modal: Edit User form with fields for new password and admin checkbox.
- Validation: Password (min 4 chars, optional).
- Feedback: Inline error messages for invalid input.
- Admin Restriction: Cannot remove your own admin privileges while logged in.
- Success/Error Alerts: Shown for all user actions (add, edit, delete).
- User list updates live after changes.
- All actions are performed via modals for a smooth experience.
This page provides full user management for the system.