fixed glitch where authenticated = true on load