added REST service handler