initialize session first to avoid session cache limiter error