changed to tomcat server, add RestTemplate