updated device/user api definitions