signup code in libkb