[Upg] refactoring js
[Upg] add user in group from create/edit user