server now prints when connected or disconnected