updated for session id passed in from partners