Added routes s security checks, switch to wss from ws