Added ability to edit user groups