Clean how sessions are managed and handled