Change to use secure log in IO