I am trying to persist the user not to log out once he\'s logged in. So I place token in localStorage and try run the same action that sets the state token on login on every upd