Finished xiami login.