changed socketio url in tempalte
reenable websocket
changed to only 1 cookie
put MOAR logic
put more stuff