added rest client