Move session initialize to after db update 2