added sessions helper to key files