it's redirectTo not redirect :D