task 1: get the name of uploaded image or set it accordingly. task 2: get the uploaded Image from frontend