add friendlist,fix register bug