enabling cross-origin request for assignment get