controllers for REST interface