try to understand the sessions mechanism