Actually it's two problems:
- Fetch the current user location/System language to set the proper lang in the app.
- Check if the user have a session in the server, and get the details. (the JWT stores in the Local Storage).
For now i do that in the componnentDidMount Funcrion in the app.js, but it's ugly and not the right way.
Because it done by the client side, the DOM show's for a few seconds the normal header menu and only after that change to the user menu.