reconnecting socket
add a logout button