Revert "store all user names in the db"

This reverts commit 6ced01e14af4a5ad6275650c968634775f994168.
Revert "don't store junk locally"

This reverts commit 00aefedf50dd45c7387be2c37dc16bc12cf6df9d.
store cursors and uids in memory