[feature] socket from fronted (creating new document) to backend