API controller and Ajax call setup to it