Added function for adding friendships