remove unnecessary uid from models upload controller
decouple upload controller from models