starting ajax call to get data