[add] register member and save friends in local and remote database