added global.login to store status, logout, get status before sending captcha(refresh cookie)