reloading state before broadcasting user.login when logging in