renamed upload function to image_upload and defined create function for image controller