fixed sign in redirect