added logoff call.