Please tell me. How to fix error reviewer send me?

I have 2 errors of reviewer. Looking forward to the advice of everyone:
2. Should this really need nopriv?

  1. Don’t add extensions to handles:

2: I use ajax to delete user. image full code:
3.I do not understand where is wrong: image full code:
Thank you!