Add a session level cache in the permission system