added ajax to answers controller