added some caching to speed up the Profile API