Added logoff logic