added json web tokens for socket auth