Implemented facebook and twitter authentication