added code to upload friend recs to db