modify clouda lightInit
check cookie
check cookie