Added features for adding measurements, this is for testing ajax post in phone