replaced express 2.x legacy in admin.js