userData now carries object and entity