로그인 상태 감지하여 프로필 정보 가져오기앱이 실행되면 로그인된 사용자가 있는지 확인하고 사용자 프로필 가져옵니다.main.js에서 authStore.initializeAuth() 호출authStorejs의 initializeAuth()에서 fetchProfiles()호출fetchProfiles()에서 현재 로그인된 사용자의 profile.id로 fetchProfile(foundProfile.id) 호출이 시퀀스에 따라 사용자의 프로필을 가져올 수 있습니다.✅ 로그인 상태 감지 - onAuthStateChanged란?Firebase Authentication에서 제공하는 함수로,사용자의 로그인 상태가 바뀔 때마다 자동으로 실행되는 리스너(listener) 입니다.📦 사용법 예시 (JavaScript)i..