upload photos and videos to backend