add image type-doc type validation and image and document upload