add machinesHttpHandler