add measurements to api base controller