init session with memory store