the log check of auth