Implemented friending functionality