More changes...friends functionality still needs fixed...for some reason, User->pending is an array of usernames, indexed by usernames. Right now, I'm trying to get things to work with User->friends and User->pending as lists of User OBJECTS...might need to convert to arrays of usernames.