Cloud-based account-management system