auto logout when disconnected to prevent conflict with various sessions in local host