added server register/unregister