Changed to applicaiton controller json responses