To know which user login and and logoff in your pc then follow below stpes.
First right click on computer and got to computer management
In computer management go to Event Viewer
Click on Application and services logs
Double clicked Microsoft and then collapse Windows folder.
Collapse offline files folder and click on operational and check the required logon
We can check more detail to double click on any event.