adding processing of friend and friend profiles