Refactor opening of the userstore. Instead of constantly looping over
all folders, keep a hashmap of all folders and entryids