Thanks for your previous explanations. I still find this a bit strange here though, since this is a general set function in the store. Why not, instead provide an event here that fires on success, and you can bind your logout/login functionality to that instead. This will keep the store clean.