handshake-example-nodejs

change to doctype html
add authenticate function