controller now shows json, routes set