added facebook functionality