Function isAuthOptions