added debug info for getlogin