adds currentPhoto to server-side