refactor Redirecting so we do not need a controller instance