fix login session