init realtime