add a logger for securityLog and authentication
fix syntax