fixed Bug in LogonUser