Added caching profiles and AllowAnonymousAttribute