added backend functionality for social networking
added backend functionality for social networking