Update main.js
Update main.js

new function to get the direct info from the server. 
need to code functions of 
connview
and
hashview
into server
bengjerstad/multiuselogserver,bengjerstad/multiuselogserver,bengjerstad/multiuselogserver