added allowedExtension  jpg