Privacy And Security In Smart Plans: Challenges And Solutions