data/models/session: add IsExpired and SetExpire methods, use in code