Added connecting and disconnecting from server.