finished implementation of userspermissions usergroups split and merge