added simple upload controller