Encode, Prevent garbage registing, Fix loginTable