setting up facebook and twitter authentication