start to make the web/api uploads stuff work