fixed sign in redirections