fixed bug where app thinks a new user logged in if app is started again ...

...under a new window if the original window app was still open