How did Home Way only redirect for those who arrived?

For example, a user who is not a member of the site sees the home address with the same address. And the user who has logged in to the site home page yousite.com/panel ,See