Borrowed janrain code from phylografter

Now supports login via FB, Google, etc.