updated admin.js

/core/server/controllers/admin.js change to address image upload issues