update dn.md
add authencated and modify app.py code style