add wechat register and login function