Preventing non-authorized access to socket.io
Adapting frontend to use real user info