add basic auth
add socket.io with test code
add to handle js using fs node module