begining of code to add expiration of bans.