added sessions js and tools