fixed "logged in as logged in as" bug