attempt to fix bug with re-login