starting rest service