Hi Sebastian,
calling the method .attachLogoff is sufficient for the event log off to trigger.
The call back function used for this method will be triggered when user clicks on log off button.
The method fireLogoff() of the control need not be called within it.
The method fireLogOff(); is to be called when the event logoff is to be triggered exclusively i.e other than user clicking on log off button.
fireLogOff(); in above case might be undefined
Below example might help
http://jsbin.com/afif/206/edit
Thansks and Regards, Venkatesh