Add log to authentication