added a scheduler rake take to purge unused sessions