complete the login and chart msg of server