Fixed NullPointerException when creating usergroup. Fixed validator for existing UserGroup name.