finish a basic web server: accept user input then return
now can upload and show pic