add gettask ajax call