fix(groups): fix duplicated roles and groups in user profile