restrict the user from going to signup or login page if the user is already logged in firebase auth
By Disgusted Dogfish at Oct 12 2020