modified logoff behavior