MOdified so session info is stored serverside