created separated services to make the http calls