add /warn route to admin.js