added upload feature to code, lines 75-94, minor adjutments to HTML