Adding Ajax controller