added check for existing transport_device and _type
removed unused userState stuff from controller