updat how redirect works for not logged in editors