ajax works for posting submissions
update controller with also .json format