implemented  web-services for adding friends