Contactdb uses contactDbId.
Detard
Use a common Contact::merge() function to initialize contacts.
Simplify capability code
Move capability management functions into another file.
Refactoring.
Use contactdb user to create a new user.
Use contact database at login time.
Support capabilities in the shared contact database.