added getLastMessage, and readPublicKey