add remote ajax call and polling