Added sessions factory