got registering rpc call and init rpc call working minus database