newTrips undefined set; viewfriends