introducing query method for stores
using query for refresh tokens