searchUsers exception handeling