Fixed up the main method of SocialClient