display the error
better error messages for handshake
better error messages for login