Implemented adding friend functionality