Security and Cost using Particle Publish