Apple app store asking to login even after i logged in

I was trying to update some apps on my new MacBook and it asked me to log in, since I dint have an account I created a new account and logged in successfully but even after that its asking me to login again to update, I can see my username on the bottom on app store windows, which means I’m logged it. What’s even more annoying is that I can type in the username field duh!