more accurate debug messages...
more work for login...