Added logging to debug authentication