repair user init, add cache::keygen closes #13