How to do Realtime Application State Tracking - Supabase