Added login and logout to IP operations sequence.