Desktop Client Detecting users logged in

We are trying to use Rocket chat in our org to easily notify users of things that are happening but we are finding that a lot of users are just ignoring the application and not logging in.

I’m trying to find a way to detect if a user has logged in or not (and if they haven’t give them a gentle prod to do so) using powershell.

The installations would only have the one server connected.

Does anyone know how this could be done?

Information can be extracted programmatically via the Rocket.Chat API: List - Rocket.Chat Docs.

I did think about that. but that only shows me the admin at a single point in time who is logged in.
I need the clients themselves to check if they are logged into the desktop client, preferably at windows login.

I currently have it set up to check the config.json file for the last accessed URL. If it is /home then I assume they are not logged in.
Not ideal as people can manually navigate to home while logged in.