Adding usage of resttemplate