Added "buildCacheKey" method to store. Added flushing cache when user logs out