updated front end for uploading pics