adds websockets for instant logout