How to logout Apple ID in App Store since MacOS Mojave new look
Solution 1:
In the Mac App Store Menu bar, go to Store → Sign Out to sign out.
The entry would change to Sign In after successful logout. You can also sign in by clicking on the Sign In button shown towards the bottom left of the Mac App Store window.