Added logout for Circuits integration