Changes to Read the devices collection

get/api/devices