Feature/ts session

- add timestamp to sesions lock
- give preference to new sessions
Please remove this. I removed it in a recent PR