implement realtime sharing photos