In searchFriend I made it just fetchObject.  Also fixed an error with the query in addFriend Function.