start of namescache refactor, make refreshing the user work with the namescache