I create an authentication project using Firebase. when I logged into account I see that my website is redirecting continuously and I create if else condition that when user is logged in redirect to welcome page and when use is not logged in redirect to home page. But I face problem of redirecting continuously.