redesign some routes for serviceapi