feat(account): use traits instead of methods in user and group account (refs #4405)