sso add auth check