redirect after login regression fix