Updated uploadController.m to the most recent version (Reverted back to Jay's version)