addes session store && config