Added addclient and removeclient