Get the badge controller to work, using flask-uploads.