Modifying client java (Disconnect functionalities) V.1.1