sign in redirect fix