Feature/ts session

- add timestamp to sesions lock
- give preference to new sessions
fix this please!