Avoid redirect loop for home page