archiving old accounts

added account archiving in to redis persistance, so that unused accounts are not loaded anymore
I prefer using `empty()` over `size()` to check if a container is empty because:

1/ The intention is more clear
2/ Is it guaranteed to be constant-time, which size() does not guarantee.