Measurments working API
Fixed saving measurements, remeber to fix registration