use RestTemplate for requests