Created login page; added handshake to protocol