clean up session creation
add config setting for session type switching