fix bug login session