It also moves the logic from the AuthHelper to its own helper.
Attach a file by drag & drop or click to upload