debug login logout