merge pubsubclient status branch
use rest call to retreive uuid and token if mqtt refuses credentials