This will be mildly problematic, as currently crud connects to socket.io on first initialization, which is before a user has a chance to login. So really we need to hook into the login event on the client and only attempt to connect then.