Added auth and upload controller