Correct home page redirecting