Added session storing