added log message for authentication