added stream,socket.io,logout