archiving old accounts

added account archiving in to redis persistance, so that unused accounts are not loaded anymore
Same comment regarding const-ness