ajax call made and visits are stored