log out when work is done.