send "deauth" event to logout from the server and then recieve an empty session
send an empty session to logout the client