added auto removal of old sessions