Don't generate a session all the time, only when needed