use next instead of redirect