fixed all known issues.  Pending:
1-photo_id is NOT unique; change PK & image filename
other extra credit:
1-upload photo somehow
2-tablet