Added upload function and html for /start