Personal Data Management in the Internet of Things