Hi @Iep90 ,
Do you want to save the user's logout time?
I have an alternative that records the time less precisely.
My idea is to create a record when the user starts the APP and then keep updating the current time every 30 seconds via Timer Control.
I have made a simple test using SharePoint as the data source.
1. Here is my list.

2. Select the APP and apply the following formula on its OnStart property as:
Patch(datasource,Defaults(datasource),{UserName:User().FullName,Login:Now()})

3. Select the Timer Control and apply the following formula on its OnTimerEnd property as:
Patch(datasource,First(SortByColumns(Filter(datasource,UserName=User().FullName),"Created",Descending)),{Logout:Now()})

Result Screenshot:

Best Regards,
Charlie Choi