fixed logout return redirect