modify Controller and its tests
add ViewResolver and modify return path of Controller