Another way to solve my problem is that when I click "Add Contacts" , how can I config to list all the users who are online or offline,and I can add a friend by clicking the button "select" directly in this page if I don't know his or her name!
and thank you!