added ajax controller