Added social networking features and ran controller and model tests