clearing the cache when user login