Currently we are directly accessing Vuex state to get user information, but this is an implicit API that is deprecated and will be removed in the near future.
The currently approved way to access this information is with the useUser composable from the Kolibri Public JS API: https://github.com/learningequality/kolibri/blob/develop/packages/kolibri/composables/useUser.js
We should get all the relevant information from here, and watch for updates to the current user id in order to trigger an update of the Sentry scope.