Fix the reference to the cache in the User model