controller set up with json response