retrieving the session_id using the settings file