fixing expiring sessions