added mydevices api for returning all devices owned by authenticated user