added all the facebook functionality to connect and post messages