add sample user friend function