code formatting
Fix acl users/groups create/delete in GUI

* automatically delete a user/group when unassign it from its last role
* fix checking for a user/group existence when assigning a role to
  a user/group