How to maintain more user data in Corda Accounts

HI, guys! I want to use Accounts library in my Corda app and, save user data and login credentials (full name, username, password, etc.) into the vault.

I created account for user and get it by account name. Do I need to maintain separate State and Contract to main those user data?

Account Info is the basic account class.

I would recommend you to create a new state for saving the other details.

You can link them to AccountInfo by including the AccountInfo as a reference state in transactions which will create these data states.