added logoff call part 2.