simple upload form and logic implemented