Use the Accounts object

The loginButtonsSession object is not defined. The needed reference is the Accounts._loginButtonsSession object.