Added client connected and disconnected callbacks