modify logs (and add log for auth)