insert photoURL into MySQL if photo successfully moved into database