adding REST service