added mac address, vendorId, header params, apptoken verification, logging