modified @Controller to @RestController on REST #560

#560 
modified @Controller to @RestController on REST