update Login Logoff