add more if statements and FileReader information for submitting photos