WIP: Measurements service secured