adding front end stuff for file uploading