Refactoring and implementation for DAV:add-member POST