solved a problem with sign in redirect