ensuring config is reset when user cancel login