sessions.py: comment func