fix login and get the ck.