refactor and add image url to instructor