added log for wifi encryption