add friend functionality implemented