Demo script to be used for facebook login and Twitter