added logging to websock
added a lot of server stuff, and fixed stuff