needed to reference 'loginButtonsSession = Accounts._loginButtonsSession' and removed early redirect to dashboard