adding image file upload to register