added debug output if login to camera was not successful