got store data function and change page function working