adding diagram of login handshake