added facebook functionality to create