added facebook part into prototype