added key authentication to server running node

Allows the socket server to check to a key form a user on a site before allowing to chat
Also created checks to make sure a user can create a room