debug login problem