create CacheManager to manage image cache.
clear user avatar cache after login success, so user can read the latest avatar from server.