Continued session creation logic - need to debug