add the rest service