put everything backt to what it originally except for that error in the query for addFriend