linked database and upload controller