I installed snapstore on ubuntu 18.04 and it launches but when I install an app it gives an error about authentication?

This is the output when I start snap-store.

Fontconfig warning: “/etc/fonts/conf.avail/53-monospace-lcd-filter1.conf”, line 10: Having multiple values in isn’t supported and may not work as expected 22:24:08:0901 Gs /etc/PackageKit/Vendor.conf file not found 22:24:09:0023 Gs not handling error not-supported for action get-updates-historical: The name org.freedesktop.fwupd was not provided by any .service files 22:24:10:0448 Gs adding wildcard app ////org.gnome.Builder.desktop/* to plugin cache 22:24:10:0449 Gs adding wildcard app ////org.gnome.Calculator.desktop/* to plugin cache 22:24:10:0449 Gs adding wildcard app ////org.gnome.clocks.desktop/* to plugin cache 22:24:10:0449 Gs adding wildcard app ////org.gnome.Dictionary.desktop/* to plugin cache 22:24:10:0450 Gs Only 0 apps for recent list, hiding 22:24:10:0450 Gs adding wildcard app ////org.gnome.Documents.desktop/* to plugin cache 22:24:10:0450 Gs adding wildcard app ////org.gnome.Evince/* to plugin cache 22:24:10:0450 Gs adding wildcard app ////org.gnome.gedit.desktop/* to plugin cache 22:24:10:0451 Gs adding wildcard app ////org.gnome.Maps.desktop/* to plugin cache 22:24:10:0451 Gs adding wildcard app ////org.gnome.Weather/* to plugin cache 22:24:11:0029 Gs hiding category graphics featured applications: found only 0 to show, need at least 9 22:24:11:0043 Gs hiding category productivity featured applications: found only 0 to show, need at least 9 22:24:11:0311 Gs FIXME: Unknown progress handling is not yet implemented for GsProgressButton 22:24:11:0311 Gs FIXME: Unknown progress handling is not yet implemented for GsProgressButton 22:24:11:0311 Gs FIXME: Unknown progress handling is not yet implemented for GsProgressButton 22:24:11:0311 Gs FIXME: Unknown progress handling is not yet implemented for GsProgressButton 22:24:20:0074 Gs automatically prevented from changing kind on system/snap//runtime/io.snapcraft.core18-CSO04Jhav2yK0uz97cr0ipQRyqg0qQL6/latest/stable from runtime to unknown! 22:24:20:0464 Gs automatically prevented from changing kind on system/snap//runtime/io.snapcraft.bare-EISPgh06mRh1vordZY9OZ34QHdd7OrdR/latest/stable from runtime to unknown! 22:24:20:0663 Gs automatically prevented from changing kind on system/snap//runtime/io.snapcraft.core20-DLqre5XGLbDqg9jPtiAhRRjDuPVa5X1q/latest/stable from runtime to unknown! 22:24:20:0885 Gs automatically prevented from changing kind on system/snap//desktop-application/io.snapcraft.snapd-PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4/latest/stable from desktop-application to unknown!

This is the output when I try install an app from snap-store:

22:26:09:0632 Gs Could not set idle IO priority, attempting best effort of 7 22:26:09:0632 Gs Could not set best effort IO priority either, giving up 22:26:09:0636 Gs failed to install org.keepassxc.KeePassXC.desktop: Requires authentication with @snapd 22:26:13:0178 Gs automatically prevented from changing kind on system/snap//runtime/io.snapcraft.bare-EISPgh06mRh1vordZY9OZ34QHdd7OrdR/latest/stable from runtime to unknown! 22:26:13:0406 Gs automatically prevented from changing kind on system/snap//runtime/io.snapcraft.core20-DLqre5XGLbDqg9jPtiAhRRjDuPVa5X1q/latest/stable from runtime to unknown! 22:26:13:0855 Gs automatically prevented from changing kind on system/snap//runtime/io.snapcraft.core18-CSO04Jhav2yK0uz97cr0ipQRyqg0qQL6/latest/stable from runtime to unknown! 22:26:14:0051 Gs automatically prevented from changing kind on system/snap//desktop-application/io.snapcraft.snapd-PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4/latest/stable from desktop-application to unknown!

Does anyone know how to fix this? It loads up but I cant install any app from snap-store.