added some logging on authentication