check auth for new API
change return format of API /devices
add cloud dir