changed server to localhost
added hash to chat