adding upload form to main page