Add a link for friend search in portal#index and bug fix.

- show alert message by javascript when no users found in friend#search.