A user and account management framework