add account management and encrypten