added set pres cookie in api when adding presentation