CRazyAPI_Login: updated some old code