archiving old accounts

added account archiving in to redis persistance, so that unused accounts are not loaded anymore
This pattern seems to be common in your code logic, this might be the good time to create a macro or, better, a lambda function for it.