Added sessions support