retrieve user and product objects from data parameter