maybe put the Redirect itself on both sides of an if-else? Seems a bit more idiomatic