Init session if it is not set