Added ability to change user groups