Server:Add the feature to use database and exchange data between server and client