adds ajax call to quiz controller after submit on click event triggered