Added some validation and progress bar display of image upload