Updated authentication. Socket.io remains unauthenticated thus far