add token authentication for socketio