added register server call