As implemented, it seems like EventEmitter.removeListener wasn't matching any listeners.
This had react warning about calling setState on unmounted components if users would login/out multiple times.
Added a new instance variable, changeListener to components to store reference to change callbacks.
As implemented, it seems like EventEmitter.removeListener wasn't matching any listeners. This had react warning about calling setState on unmounted components if users would login/out multiple times.