add ajax call to get link