Add user friendship feature and create tests