At adding user/group check the required fields and if Id is unique. Bug found related to memory.