added friends fragments functionality