get websockets working