Add local caching of profiles info and periodic UI refresh