merge user and userdata entities