set the right configurations for the session type