The desktop app is terrible

Half the time i open the app it prompts me to log in, even though it opens seconds later fully logged in. Sometimes, when I’m in a game and I open the app, it prompts me to log in AGAIN! I’m already logged in just logged in seconds ago. wtf ?