rpc registration,login