Added Facebook and Twitter authentication.

Fixes #44.