Added friending logic