Added client functionality for disconnect.
Fixed how clients are added at server, also added disconnect functionality