retrieve user and product objects from data parameter

I think this might work better :)